import express, { Router } from 'express'
import * as authController from './auth.controller'
import { validateLogin } from './auth.middleware'

const router: Router = express.Router()

router.post('/login', validateLogin, authController.login)

export default router
